package cn.source.system.domain;

import cn.source.school.domain.SchoolAreadto;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import cn.source.common.annotation.Excel;


/**
 * 地区对象 base_area
 *
 * @author ruoyi
 * @date 2023-08-31
 */
public class BaseArea extends cn.source.common.core.domain.BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地区编号 */
    private Integer id;

    /** 父级地区编码 */
    @Excel(name = "父级地区编码")
    private Integer parentId;

    /** 等级 0-国家；1-省份；2-地级市；3-县区 */
    @Excel(name = "等级 0-国家；1-省份；2-地级市；3-县区")
    private Integer level;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 简称 */
    @Excel(name = "简称")
    private String shortName;

    /** 地区编码 */
    @Excel(name = "地区编码")
    private String cityCode;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String zipCode;

    /** 纬度 */
    @Excel(name = "纬度")
    private String gcj02Lng;

    /** 经度 */
    @Excel(name = "经度")
    private String gcj02Lat;

    /** 纬度 */
    @Excel(name = "纬度")
    private String db09Lng;

    /** 经度 */
    @Excel(name = "经度")
    private String db09Lat;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String remark1;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String remark2;


    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setParentId(Integer parentId)
    {
        this.parentId = parentId;
    }

    public Integer getParentId()
    {
        return parentId;
    }
    public void setLevel(Integer level)
    {
        this.level = level;
    }

    public Integer getLevel()
    {
        return level;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setShortName(String shortName)
    {
        this.shortName = shortName;
    }

    public String getShortName()
    {
        return shortName;
    }
    public void setCityCode(String cityCode)
    {
        this.cityCode = cityCode;
    }

    public String getCityCode()
    {
        return cityCode;
    }
    public void setZipCode(String zipCode)
    {
        this.zipCode = zipCode;
    }

    public String getZipCode()
    {
        return zipCode;
    }
    public void setGcj02Lng(String gcj02Lng)
    {
        this.gcj02Lng = gcj02Lng;
    }

    public String getGcj02Lng()
    {
        return gcj02Lng;
    }
    public void setGcj02Lat(String gcj02Lat)
    {
        this.gcj02Lat = gcj02Lat;
    }

    public String getGcj02Lat()
    {
        return gcj02Lat;
    }
    public void setDb09Lng(String db09Lng)
    {
        this.db09Lng = db09Lng;
    }

    public String getDb09Lng()
    {
        return db09Lng;
    }
    public void setDb09Lat(String db09Lat)
    {
        this.db09Lat = db09Lat;
    }

    public String getDb09Lat()
    {
        return db09Lat;
    }
    public void setRemark1(String remark1)
    {
        this.remark1 = remark1;
    }

    public String getRemark1()
    {
        return remark1;
    }
    public void setRemark2(String remark2)
    {
        this.remark2 = remark2;
    }

    public String getRemark2()
    {
        return remark2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("level", getLevel())
            .append("name", getName())
            .append("shortName", getShortName())
            .append("cityCode", getCityCode())
            .append("zipCode", getZipCode())
            .append("gcj02Lng", getGcj02Lng())
            .append("gcj02Lat", getGcj02Lat())
            .append("db09Lng", getDb09Lng())
            .append("db09Lat", getDb09Lat())
            .append("remark1", getRemark1())
            .append("remark2", getRemark2())
            .toString();
    }
}
